package demo4;

public class Cat extends Animal implements IRunning{

    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(this.name + "吃猫粮...");
    }

    @Override
    public void run(){
        System.out.println(this.name + "正在用四条腿走路...");
    }
}
